import request from "../../utils/request.js"

export function getFundInfo(params){
    return request({
        url:`/api/MyHttpRequest/get?url=http://fund.eastmoney.com/pingzhongdata/${params}.js`,
        method:"get",
    });
};
export function getFundjzgs(code){
    return request({
        url:`/api/MyHttpRequest/get?url=https://danjuanapp.com/djapi/fund/estimate-nav/${code}`,
        method:"get",
    });
};
export function getTestFundInfo(params){
    return request({
        url:`/data/${params}.js`,
        method:"get",
    });
};

//https://danjuanapp.com/djapi/fund/estimate-nav/161725